placesview: hold onto ref during (un)mount ops
authorChristian Kellner <christian@kellner.me>
Sun, 4 Sep 2016 09:47:55 +0000 (11:47 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Sep 2016 20:55:47 +0000 (16:55 -0400)
commit3ed25941ac80a4630b5c25a420307f9562a59ece
treea934d192513c9f8195be73a9f42db7cb773191f8
parentf2ba6ca47322a17b37fb92662fc9552b4f106f10
placesview: hold onto ref during (un)mount ops

During mount and unmount opertions we keep a reference to the
GtkPlacesView around, so we have a valid view for the callback
code, even in the case that othe external references have been
dropped (i.e. the containing window gets destroyed).

https://bugzilla.gnome.org/show_bug.cgi?id=764979
gtk/gtkplacesview.c